package org.aurora.remote.protocol;

import java.util.concurrent.atomic.AtomicInteger;

public class RemoteRequest extends RemoteCommand {
    private static final AtomicInteger requestOrdinalGenerate = new AtomicInteger(0);

    public final static int requestOrdinalGeneral() {
        return requestOrdinalGenerate.incrementAndGet();
    }

    @Override
    public RemoteCommandType getRemoteCommandType() {
        return RemoteCommandType.REQUEST;
    }
}
